/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 性能统计
 * 性能统计相关接口
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Rds.Model
{

    /// <summary>
    ///  queryPerformanceResult
    /// </summary>
    public class QueryPerformanceResult
    {

        ///<summary>
        /// sql语句
        ///</summary>
        public string Sql{ get; set; }
        ///<summary>
        /// 上次执行时间，格式为YYYY-MM-DD hh:mm:ss
        ///</summary>
        public string LastExecutionTime{ get; set; }
        ///<summary>
        /// 平均执行时长，单位毫秒(ms)
        ///</summary>
        public int? ElapsedTime{ get; set; }
        ///<summary>
        /// 执行次数
        ///</summary>
        public int? ExecutionCount{ get; set; }
        ///<summary>
        /// 平均CPU使用时间，单位毫秒(ms)
        ///</summary>
        public int? WorkerTime{ get; set; }
        ///<summary>
        /// 平均逻辑读次数
        ///</summary>
        public int? LogicalReads{ get; set; }
        ///<summary>
        /// 平均逻辑写次数
        ///</summary>
        public int? LogicalWrites{ get; set; }
        ///<summary>
        /// 平均物理读次数
        ///</summary>
        public int? PhysicalReads{ get; set; }
        ///<summary>
        /// 上次返回记录数
        ///</summary>
        public int? LastRows{ get; set; }
    }
}
